home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: uu4news.netcom.com!zodiac!szh
- From: szh@zcon.com (Syed Zaeem Hosain)
- Subject: Re: leap year
- Message-ID: <1996Mar21.212438.23146@zcon.com>
- Sender: szh@zcon.com (Syed Zaeem Hosain)
- Nntp-Posting-Host: zodiac
- Reply-To: szh@zcon.com
- Organization: Z Consulting Group
- References: <4iq609$evq@daryl.scsn.net>
- Date: Thu, 21 Mar 1996 21:24:38 GMT
-
- In article <4iq609$evq@daryl.scsn.net>, shrader@scsn.net (Scott Shrader) writes:
- >can anyone tell me in C how do I write a program so it can tell me if a year
- >is a leap year
-
- Your question is answered in the FAQ. Please get it from rtfm.mit.edu and
- look at the answer to:
-
- 20.32: Will 2000 be a leap year? Is (year % 4 == 0) an accurate test
- for leap years?
-
-
-
-
- --
- -------------------------------------------------------------------------
- | Syed Zaeem Hosain P. O. Box 610097 (408) 441-7021 |
- | Z Consulting Group San Jose, CA 95161 szh@zcon.com |
- -------------------------------------------------------------------------
-